package com.ruoyi.decision.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发起与决策对象 t_launch_decision
 * 
 * @author beefcake
 * @date 2021-10-22
 */
public class LaunchDecision extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司编号 */
    private Long id;

    /** 公司名字 */
    @Excel(name = "公司名字")
    private String companyName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String companyCode;

    /** 决策程序 */
    @Excel(name = "决策程序")
    private String decisionProcess;

    /** 决策日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "决策日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date decisionDate;

    /** 决策文件 */
    @Excel(name = "决策文件")
    private String decisionFile;

    /** 理由描述 */
    @Excel(name = "理由描述")
    private String reasonSpecification;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyCode(String companyCode) 
    {
        this.companyCode = companyCode;
    }

    public String getCompanyCode() 
    {
        return companyCode;
    }
    public void setDecisionProcess(String decisionProcess) 
    {
        this.decisionProcess = decisionProcess;
    }

    public String getDecisionProcess() 
    {
        return decisionProcess;
    }
    public void setDecisionDate(Date decisionDate) 
    {
        this.decisionDate = decisionDate;
    }

    public Date getDecisionDate() 
    {
        return decisionDate;
    }
    public void setDecisionFile(String decisionFile) 
    {
        this.decisionFile = decisionFile;
    }

    public String getDecisionFile() 
    {
        return decisionFile;
    }
    public void setReasonSpecification(String reasonSpecification) 
    {
        this.reasonSpecification = reasonSpecification;
    }

    public String getReasonSpecification() 
    {
        return reasonSpecification;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyName", getCompanyName())
            .append("companyCode", getCompanyCode())
            .append("decisionProcess", getDecisionProcess())
            .append("decisionDate", getDecisionDate())
            .append("decisionFile", getDecisionFile())
            .append("reasonSpecification", getReasonSpecification())
            .toString();
    }
}
